import java.util.Map;
import java.util.HashMap;

public class TS {

	private Map<String, String> tabla;

	public TS() {
		tabla = new HashMap<String, String>();
	}

	private TS(Map<String, String> tabla) {
		this.tabla = tabla;
	}

	public boolean estaEn(String cte) {
		return tabla.containsKey(cte);
	}

	public TS aniade(String cte, String val) {
		tabla.put(cte, val);
		return this;
	}

	public String valDe(String cte) {
		return tabla.get(cte);
	}

	public String toString() {
		return tabla.toString();
	}
}
